package com.yz.xyt.mapper;

import com.yz.xyt.domain.LeaveRule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LeaveRuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LeaveRule record);

    int insertSelective(LeaveRule record);

    LeaveRule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LeaveRule record);

    int updateByPrimaryKey(LeaveRule record);

    LeaveRule selectIsUseRule();

    int stopAll(LeaveRule record);

    int startRule(LeaveRule record);

    List<LeaveRule> findForList();
}